package com.bwton.msx.ccb.ui.auth;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.navigation.fragment.NavHostFragment;

import com.bwton.msx.ccb.R;
import com.bwton.msx.ccb.databinding.FragmentFirstBinding;
import com.bwton.msx.ccb.databinding.FragmentPersonInfoBinding;

public class PersonInfoFragment extends Fragment {

    private FragmentPersonInfoBinding binding;

    @Override
    public View onCreateView(
            LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState
    ) {
        binding = FragmentPersonInfoBinding.inflate(inflater, container, false);
        return binding.getRoot();

    }

    public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
//        binding.buttonFirst.setOnClickListener(v -> {
//            NavHostFragment.findNavController(this)
//                    .navigate(R.id.action_personInfoFragment_to_registerFragment);
//        });
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        binding = null;
    }

}